add_library(ASTVisitor
        MLIRASTVisitor.cpp
        SemaVisitior.cpp)

find_package(MLIR REQUIRED CONFIG)
target_include_directories(ASTVisitor PRIVATE ${MLIR_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/thirdparty)
target_compile_options(ASTVisitor PRIVATE "-fno-rtti")